//
//  GQHHomeView.h
//  Xanthium
//
//  Created by GuanQinghao on 24/02/2018.
//  Copyright © 2018 GuanQinghao. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol GQHHomeViewDelegate <NSObject>

@required
/// 默认必须实现

@optional
/// 可选实现
/// 点击功能列表项
- (void)qh_selectedRowWithTableView:(UITableView *)tableView atIndexPath:(NSIndexPath *)indexPath;
/// 发布车辆信息或货源信息
- (void)qh_provideSupplyOrFree:(UIButton *)sender;
/// 查看推送通知
- (void)qh_checkNotification:(UIButton *)sender;
/// 联系客服
- (void)qh_contactCustomerService:(UIButton *)sender;

@end


@interface GQHHomeView : UIView

/// 代理
@property (nonatomic, strong) id<GQHHomeViewDelegate> qh_delegate;
/// 菜单列表
@property (nonatomic, strong) UITableView *qh_tableView;

@property (nonatomic, copy) NSString * badgeCount;

@end
